package com.example.qny01.service;

import org.springframework.stereotype.Service;
import qny01.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> selectAll();
    Teacher selectById(Integer id);
    int insert(Teacher teacher);
    int delete(Integer id);
    int update(Teacher teacher);
}
